package com.siyao.redvip.network;

/**
 * 
 * @author lenovo
 *
 */
public class NetConstans {
	/**
	 * 谷歌根据经纬度精确进行地理位置的定位
	 */
	 public static final String MAPURL="http://maps.google.com/maps/api/geocode/json";
	 
	  
    public static final String SERVER_URL = "http://120.26.61.237:9009/";
//    public static final String SERVER_URL = "http://192.168.9.8:8080/";
    
    public  static final String WEB_PROJECT_NAME="VolunteersMgt/";

    public final static String HTTP_GET = "GET";

    public final static String HTTP_POST = "POST";

    public final static String HTTP_DOWNLOAD = "DOWNLOAD";

    public final static String HTTP_UPLOAD = "UPLOAD";

    public final static int HTTP_RSP_CODE_SUCCESS = 200;
    
    public final static int HTTP_STATUS_SUCCESS = 1;
    
    
    /**
     * 检查更新的地址
     */
    public final static String VERSION_URL=SERVER_URL+WEB_PROJECT_NAME+"app_updateVersion.do";
    
    /**
     * 登陆url
     */
    public final static String LOGIN_URL=SERVER_URL+WEB_PROJECT_NAME+"app_login.do";
    /**
     * 传头像url
     */
    public final static String UPLOADHEADIMG_URL=SERVER_URL+WEB_PROJECT_NAME+ "app_headPortrait.do";
    
    /**
     * 获取健康咨询
     */
    public final static String QUERY_HEALTH_LIST=SERVER_URL+WEB_PROJECT_NAME+"app_healthList.do";
    
    /**
     * 健康咨询的详情
     */
    public final static String HEALTH_INFO=SERVER_URL+WEB_PROJECT_NAME+"app_healthInfo.do";
    
    /**
     * 活动的地址
     */
    public final static String ACTIVITY_LIST=SERVER_URL+WEB_PROJECT_NAME+"app_activityList.do";
    
    /**
     * 活动详情
     */
    public final static String ACTIVITY_INFO=SERVER_URL+WEB_PROJECT_NAME+"app_photoRecord.do";
    
    /**
     * 发布图片
     */
    public final static String PUBLISH_PHOTO=SERVER_URL+WEB_PROJECT_NAME+"app_photo.do";
    
    /**
     * 朋友圈所有的信息
     */
    public final static String FRIEND_CIRCLE=SERVER_URL+WEB_PROJECT_NAME+"app_friends.do";
    
    /**
     * 评论详情
     */
    public final static String FRIEND_COMMENTLIST=SERVER_URL+WEB_PROJECT_NAME+"app_commentList.do";
    
    /**
     * 发表评论
     */
    public final static String ADD_COMMENTLIST=SERVER_URL+WEB_PROJECT_NAME+"app_comment.do";
    
    /**
     * 下属管理的会员列表
     */
    public final static String USER_LIST=SERVER_URL+WEB_PROJECT_NAME+"app_commonVolunteers.do";
    
    /**
     * 更新密码
     */
    public final static String UPDATE_PWD=SERVER_URL+WEB_PROJECT_NAME+"app_changePwd.do";
}


